package com.jinghaizhao.gqgl.user.repository;


import com.jinghaizhao.gqgl.mybatis.entity.PtMenuEntity;
import com.jinghaizhao.gqgl.mybatis.entity.PtUserEntity;
import com.jinghaizhao.gqgl.user.entity.SearchUserEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserDao {
    List<PtUserEntity> queryUserInfoListByName(@Param("search") SearchUserEntity search);

    void deleteUserInfoByIds(@Param("id")String id);

    PtUserEntity queryUserInfoByName(@Param("userName") String userName);

    List<PtMenuEntity> queryMenuListByLang(@Param("lang") String lang);
}